package com.yuwubao.uav.tool.mapper;

import com.yuwubao.framework.bean.PageData;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 */
@Mapper
public interface AllianceMapper {

    void deleteAlliance(PageData pageData) throws Exception;
    void updateAlliance(PageData pageData) throws Exception;
    void addAlliance(PageData pageData) throws Exception;
    List<PageData> listAlliance(PageData pageData) throws Exception;
    int listAllianceCount(PageData pageData) throws Exception;

    void deleteAllianceActivity(PageData pageData) throws Exception;
    void updateAllianceActivity(PageData pageData) throws Exception;
    void disableOrEnableAllianceActivity(PageData pageData) throws Exception;
    void addAllianceActivity(PageData pageData) throws Exception;
    List<PageData> listAllianceActivity(PageData pageData) throws Exception;
    int listAllianceActivityCount(PageData pageData) throws Exception;
}
